package pub.tbc.hh.payment;

import com.unionpay.acp.sdk.SDKConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @auth tbc on 2018/5/20.
 */
@SpringBootApplication
public class PaymentApplication {
    public static void main(String[] args) {
        SpringApplication.run(PaymentApplication.class, args);
        //
    }


    private static void init() {
        /**
         * 从classpath加载acp_sdk.properties文件
         * 请求银联接入地址，获取证书文件，证书路径等相关参数初始化到SDKConfig类中
         */
        SDKConfig.getConfig().loadPropertiesFromSrc();
    }


}
